/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nanterre.annuaire.model;

/**
 *
 * @author albran
 */
public enum TypeElement {

    DOMAINE,
    COMPOSANTE,
    MENTION,
    DIPLOME,
    PARCOURS,
    UE,
    EC;

    public String getLabel() {
        switch (this) {
            case DOMAINE:
                return "DOMAINE";
            case COMPOSANTE:
                return "COMPOSANTE";
            case MENTION:
                return "MENTION";
            case DIPLOME:
                return "DIPLOME";
            case PARCOURS:
                return "PARCOURS";
            case UE:
                return "UE";
            case EC:
                return "EC";
            default:
                return null;
        }
    }
}
